
* Effects of the addition of fermented milk products to Helicobacter pylori eradication therapy in adults: Systematic review and meta-analysis.

* Adolfo Aramburu1, Marcia Cordova1, Macarena Jimenez1, Maria Calderon2
* 1 Facultad de Ciencias de la Salud, Universidad Peruana de Ciencias Aplicadas, Lima, Perú.
* 2 Newcastle upon Tyne foundation Trust, Newcastle, United Kingdom.


input str50 studyid	fm_event_n fm_event_tot fm_nonevent_n cont_event_n cont_event_tot cont_nonevent_n str20 days_therapy str20 type_therapy str10 type_fm str20 placebo_use str10 country str10 mf_duration str20 mf_adittion str15 probiotic_sp
"Bekar 2011" 36 46 10 18 36 18 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Deguchi 2012 (antibiotic-resistant)" 10 26 16 7 25 18 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Single"
"Deguchi 2012 (antibiotic susceptible)" 65 70 5 58 67 9	"Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Single"
"Guillemard 2021" 57 68 11 60 68 8 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Europe" ">14 days" "During and after" "Multiple"
"Kim 2008 (with nonulcer dyspepsia)" 87 113 26 88 121 33 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008 (with peptic ulcer disease)" 46 55 9 41 58 17	"Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Mirzaee y Rezahosseini 2012 (without placebo)" 20 31 11 19 26 7 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" "<=14 days" "During" "Non reported"
"Mirzaee y Rezahosseini 2012 (with placebo)" 19 31 12 19 26 7 "Seven days" "Triple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Non reported"
"Sheu 2002" 73 80 7 63 80 17 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Srinarong 2014 (14-day therapy)" 25 25 0 24 25 1 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (7-day therapy)" 25 25 0 23 25 2 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Yasar 2010" 25 38 13 20 38 18 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yoon 2010" 104 151 47 124 186 62 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
end

label define days_therapy 1 "Seven days" 2 "Fourteen days"
gen days_therapy1=.
replace days_therapy1= 1 if days_therapy=="Seven days"
replace days_therapy1= 2 if days_therapy=="Fourteen days"
drop days_therapy
rename days_therapy1 days_therapy
label val days_therapy days_therapy

label define type_therapy 1 "Triple therapy" 2 "Quadruple therapy"
gen type_therapy1=.
replace type_therapy1= 1 if type_therapy=="Triple therapy"
replace type_therapy1= 2 if type_therapy=="Quadruple therapy"
drop type_therapy
rename type_therapy1 type_therapy
label val type_therapy type_therapy

label define type_fm 1 "Yogurt" 2 "Kefir"
gen type_fm1=.
replace type_fm1= 1 if type_fm=="Yogurt"
replace type_fm1= 2 if type_fm=="Kefir"
drop type_fm
rename type_fm1 type_fm
label val type_fm type_fm

label define placebo_use 1 "With placebo" 2 "Without placebo"
gen placebo_use1=.
replace placebo_use1= 1 if placebo_use=="With placebo"
replace placebo_use1= 2 if placebo_use=="Without placebo"
drop placebo_use
rename placebo_use1 placebo_use
label val placebo_use placebo_use

label define country 1 "Asia" 2 "Europe"
gen country1=.
replace country1= 1 if country=="Asia"
replace country1= 2 if country=="Europe"
drop country
rename country1 country
label val country country

label define mf_duration 1 "<=14 days" 2 ">14 days"
gen mf_duration1=.
replace mf_duration1= 1 if mf_duration=="<=14 days"
replace mf_duration1= 2 if mf_duration==">14 days"
drop mf_duration
rename mf_duration1 mf_duration
label val mf_duration mf_duration

label define mf_adittion 1 "Before and during treatment" 2 "During treatment" 3 "During and after treatment"
gen mf_adittion1=.
replace mf_adittion1= 1 if mf_adittion=="Before and during"
replace mf_adittion1= 2 if mf_adittion=="During"
replace mf_adittion1= 3 if mf_adittion=="During and after"
drop mf_adittion
rename mf_adittion1 mf_adittion
label val mf_adittion mf_adittion

label define probiotic_sp 1 "Single" 2 "Multiple" 3 "Non reported"
gen probiotic_sp1=.
replace probiotic_sp1= 1 if probiotic_sp=="Single"
replace probiotic_sp1= 2 if probiotic_sp=="Multiple"
replace probiotic_sp1= 3 if probiotic_sp=="Non reported"
drop probiotic_sp
rename probiotic_sp1 probiotic_sp
label val probiotic_sp probiotic_sp

label var studyid "Study ID" 
label var fm_event_n "Events in fermented milk groups"
label var fm_event_tot "Total number in fermented milk groups"
label var fm_nonevent_n "Non events in fermented milk groups"
label var cont_event_n "Events in control groups"
label var cont_event_tot "Total number in control groups"
label var cont_nonevent_n "Non events in control groups"
label var days_therapy "Eradication therapy days (seven or fourteen)"
label var type_therapy "Eradication type therapy (triple or quadruple)"
label var type_fm "Type of fermented milk used (Yogurt or kefir)"
label var placebo_use "Placebo use (with or without)"
label var country "Study location" 
label var mf_duration "Duration of fermented milk used"
label var mf_adittion "Time of addition of fermented milk"
label var probiotic_sp "Probiotic species used"

* META-ANALYSIS

*Overall effects (Figure 2)
meta esize fm_event_n fm_nonevent_n cont_event_n cont_nonevent_n, esize(lnrratio) fixed(mhaenszel) studylabel(studyid)
meta summarize, eform(Risk ratio)
meta forestplot, eform(Risk ratio) nullrefline(favorsleft("Favors control			") favorsright("			Favors Milk fermented")) customoverall(0.0649185 0.0132713 0.1165657, label("{bf:Random (DerSimonian-Laird model)}")) customoverall(0.0756401 0.0199789 0.1313014, label("{bf:Fixed (Mantel-Haenszel model})")) nooverall nonotes xtitle(Eradication rates) xtitle(, margin(medsmall)) columnopts(_data1, supertitle(Milk fermented)) 
 

* Subgroups: 

* Table 2

* Number of comparisons/sample size
egen ncomparison=rowtotal(fm_event_tot cont_event_tot)
foreach v of varlist days_therapy type_therapy placebo_use country type_fm mf_duration mf_adittion probiotic_sp {
tabstat ncomparison, stats(n sum) by(`v')
}

* Effect size/heterogeneity/p-value for each subgroup
meta esize fm_event_n fm_nonevent_n cont_event_n cont_nonevent_n, esize(lnrratio) random(dlaird) studylabel(studyid)
foreach v of varlist days_therapy type_therapy placebo_use country type_fm mf_duration mf_adittion probiotic_sp {
meta summarize, subgroup(`v') eform nostudies nometashow cformat(%9.2f)
}


*Appendix

*Subgroups analysis - Figure S2 (Random model)

meta esize fm_event_n fm_nonevent_n cont_event_n cont_nonevent_n, esize(lnrratio) random(dlaird) studylabel(studyid)
meta summarize, eform(Risk ratio)
meta forestplot, subgroup(days_therapy type_therapy placebo_use country type_fm mf_duration mf_adittion probiotic_sp) eform(Risk ratio) nullrefline olabel("{bf:Overall (Random - DerSimonian-Laird model)}") columnopts(_K, title(Number of studies)) columnopts(_id, title(Subgroup)) nogbhomtests noohomtest noohetstats nonotes xscale(range(.2 2.5)) xlabel(#5) xtitle(Eradication rates) xtitle(, margin(medsmall))
gr_edit plotregion1.column1.group_items[1].text = {}
gr_edit plotregion1.column1.group_items[1].text.Arrpush {bf:Therapy eradication duration}
gr_edit plotregion1.column1.group_items[2].text = {}
gr_edit plotregion1.column1.group_items[2].text.Arrpush {bf:Therapy eradication regimen}
gr_edit plotregion1.column1.group_items[3].text = {}
gr_edit plotregion1.column1.group_items[3].text.Arrpush {bf:Fermented milk product type}
gr_edit plotregion1.column1.group_items[6].text = {}
gr_edit plotregion1.column1.group_items[6].text.Arrpush {bf:Milk fermented duration}
gr_edit plotregion1.column1.group_items[7].text = {}
gr_edit plotregion1.column1.group_items[7].text.Arrpush {bf:Milk fermented addition time}
gr_edit plotregion1.column1.group_items[8].text = {}
gr_edit plotregion1.column1.group_items[8].text.Arrpush {bf:Probiotic species}
gr_edit plotregion1.column1.group_items[4].text = {}
gr_edit plotregion1.column1.group_items[4].text.Arrpush {bf:Placebo use}
gr_edit plotregion1.column1.group_items[5].text = {}
gr_edit plotregion1.column1.group_items[5].text.Arrpush {bf:Study location}
gr_edit plotregion1.column2.items[19].Delete
gr_edit plotregion1.column6.items[19].Delete
gr_edit plotregion1.column7.items[19].Delete
gr_edit plotregion1.column8.items[19].Delete
gr_edit plotregion1.column10.items[19].Delete
gr_edit plotregion1.column4.esplot.style.editstyle marker(fillcolor(edkblue)) editcopy
gr_edit plotregion1.column4.esplot.style.editstyle marker(linestyle(color(edkblue))) editcopy
gr_edit plotregion1.column4.lbplot.style.editstyle area(linestyle(color(black))) editcopy
gr_edit plotregion1.column4.lbplot.style.editstyle marker(fillcolor(black)) editcopy
gr_edit plotregion1.column4.lbplot.style.editstyle marker(linestyle(color(black))) editcopy
gr_edit plotregion1.column4.ubplot.style.editstyle area(linestyle(color(black))) editcopy
gr_edit plotregion1.column4.ubplot.style.editstyle marker(fillcolor(black)) editcopy
gr_edit plotregion1.column4.ubplot.style.editstyle marker(linestyle(color(black))) editcopy


* Figure S3
meta update
meta esize fm_event_n fm_nonevent_n cont_event_n cont_nonevent_n, esize(lnrratio) fixed(mhaenszel) studylabel(studyid)
meta summarize, eform(Risk ratio)
meta forestplot, subgroup(days_therapy type_therapy placebo_use country type_fm mf_duration mf_adittion probiotic_sp) eform(Risk ratio) nullrefline olabel("{bf:Overall (Fixed - Mantel-Haenszel model)}") columnopts(_K, title(Number of studies)) columnopts(_id, title(Subgroup)) xscale(range(.2 2.5)) xlabel(#5) xtitle(Eradication rates) xtitle(, margin(medsmall)) nogbhomtests noohomtest noohetstats nonotes 
gr_edit plotregion1.column2.items[19].Delete
gr_edit plotregion1.column6.items[19].Delete
gr_edit plotregion1.column8.items[19].Delete
gr_edit plotregion1.column7.items[19].Delete
gr_edit plotregion1.column10.items[19].Delete
gr_edit plotregion1.coltitle2.style.editstyle margin(zero) editcopy
gr_edit plotregion1.column1.style.editstyle margin(zero) editcopy
gr_edit plotregion1.column1.group_items[1].text = {}
gr_edit plotregion1.column1.group_items[1].text.Arrpush {bf:Therapy eradication duration}
gr_edit plotregion1.column1.group_items[2].text = {}
gr_edit plotregion1.column1.group_items[2].text.Arrpush {bf:Therapy eradication régimen}
gr_edit plotregion1.column1.group_items[3].text = {}
gr_edit plotregion1.column1.group_items[3].text.Arrpush {bf:Placebo use}
gr_edit plotregion1.column1.group_items[4].text = {}
gr_edit plotregion1.column1.group_items[4].text.Arrpush {bf:Study location}
gr_edit plotregion1.column1.group_items[5].text = {}
gr_edit plotregion1.column1.group_items[5].text.Arrpush {bf:Fermented milk product type}
gr_edit plotregion1.column1.group_items[6].text = {}
gr_edit plotregion1.column1.group_items[6].text.Arrpush {bf:Milk fermented duration}
gr_edit plotregion1.column1.group_items[7].text = {}
gr_edit plotregion1.column1.group_items[7].text.Arrpush {bf:Milk fermented addition time}
gr_edit plotregion1.column1.group_items[8].text = {}
gr_edit plotregion1.column1.group_items[8].text.Arrpush {bf:Probiotic species}
gr_edit plotregion1.column1.items[1].text = {}
gr_edit plotregion1.column1.items[1].text.Arrpush Seven days
gr_edit plotregion1.column1.items[2].text = {}
gr_edit plotregion1.column1.items[2].text.Arrpush Fourteen days
gr_edit plotregion1.column1.items[3].text = {}
gr_edit plotregion1.column1.items[3].text.Arrpush Triple therapy
gr_edit plotregion1.column1.items[4].text = {}
gr_edit plotregion1.column1.items[4].text.Arrpush Quadruple therapy
gr_edit plotregion1.column1.items[5].text = {}
gr_edit plotregion1.column1.items[5].text.Arrpush With placebo
gr_edit plotregion1.column1.items[6].text = {}
gr_edit plotregion1.column1.items[6].text.Arrpush Without placebo
gr_edit plotregion1.column1.items[7].text = {}
gr_edit plotregion1.column1.items[7].text.Arrpush Asia
gr_edit plotregion1.column1.items[8].text = {}
gr_edit plotregion1.column1.items[8].text.Arrpush Europe
gr_edit plotregion1.column1.items[9].text = {}
gr_edit plotregion1.column1.items[9].text.Arrpush Yogurt
gr_edit plotregion1.column1.items[10].text = {}
gr_edit plotregion1.column1.items[10].text.Arrpush Kefir
gr_edit plotregion1.column1.items[11].text = {}
gr_edit plotregion1.column1.items[11].text.Arrpush ≤ 14 days
gr_edit plotregion1.column1.items[12].text = {}
gr_edit plotregion1.column1.items[12].text.Arrpush > 14 days
gr_edit plotregion1.column1.items[13].text = {}
gr_edit plotregion1.column1.items[13].text.Arrpush Before and during treatment
gr_edit plotregion1.column1.items[14].text = {}
gr_edit plotregion1.column1.items[14].text.Arrpush During treatment
gr_edit plotregion1.column1.items[15].text = {}
gr_edit plotregion1.column1.items[15].text.Arrpush During and after treatment
gr_edit plotregion1.column1.items[16].text = {}
gr_edit plotregion1.column1.items[16].text.Arrpush Single
gr_edit plotregion1.column1.items[17].text = {}
gr_edit plotregion1.column1.items[17].text.Arrpush Multiple
gr_edit plotregion1.column1.items[18].text = {}
gr_edit plotregion1.column1.items[18].text.Arrpush Non reported
gr_edit plotregion1.column4.esplot.style.editstyle marker(fillcolor(edkblue)) editcopy
gr_edit plotregion1.column4.esplot.style.editstyle marker(linestyle(color(edkblue))) editcopy
gr_edit plotregion1.column4.esplot.style.editstyle marker(size(4-pt)) editcopy
gr_edit plotregion1.column4.lbplot.style.editstyle area(linestyle(color(black))) editcopy
gr_edit plotregion1.column4.lbplot.style.editstyle marker(fillcolor(black)) editcopy
gr_edit plotregion1.column4.lbplot.style.editstyle marker(linestyle(color(black))) editcopy
gr_edit plotregion1.column4.ubplot.style.editstyle area(linestyle(color(black))) editcopy
gr_edit plotregion1.column4.ubplot.style.editstyle marker(fillcolor(black)) editcopy
gr_edit plotregion1.column4.ubplot.style.editstyle marker(linestyle(color(black))) editcopy


* Proportions

clear
input str50 studyid	str20 group event_n event_tot nonevent_n str20 days_therapy str20 type_therapy str10 type_fm str20 placebo_use str10 country str10 mf_duration str50 mf_adittion str15 probiotic_sp
"Bekar 2011" "Control" 18 36 18 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During treatment" "Non reported"
"Bekar 2011" "Milk fermented" 36 46 10 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During treatment" "Non reported"
"Deguchi 2012 (antibiotic susceptible)" "Control" 58 67 9 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Single"
"Deguchi 2012 (antibiotic susceptible)" "Milk fermented" 65 70 5 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Single"
"Deguchi 2012 (antibiotic-resistant)" "Control" 7 25 18 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Single"
"Deguchi 2012 (antibiotic-resistant)" "Milk fermented" 10 26 16 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Single"
"Guillemard 2021" "Control" 60 68 8 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Europe" ">14 days" "During and after treatment" "Multiple"
"Guillemard 2021" "Milk fermented" 57 68 11 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Europe" ">14 days" "During and after treatment" "Multiple"
"Kim 2008 (with nonulcer dyspepsia)" "Control" 88 121 33 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Multiple"
"Kim 2008 (with nonulcer dyspepsia)" "Milk fermented" 87 113 26 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Multiple"
"Kim 2008 (with peptic ulcer disease)" "Control" 41 58 17 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Multiple"
"Kim 2008 (with peptic ulcer disease)" "Milk fermented" 46 55 9 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during treatment" "Multiple"
"Mirzaee y Rezahosseini 2012 (with placebo)" "Control" 19 26 7 "Seven days" "Triple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During treatment" "Non reported"
"Mirzaee y Rezahosseini 2012 (with placebo)" "Milk fermented" 19 31 12 "Seven days" "Triple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During treatment" "Non reported"
"Mirzaee y Rezahosseini 2012 (without placebo)" "Control" 19 26 7 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" "<=14 days" "During treatment" "Non reported"
"Mirzaee y Rezahosseini 2012 (without placebo)" "Milk fermented" 20 31 11 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" "<=14 days" "During treatment" "Non reported"
"Sheu 2002" "Control" 63 80 17 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after treatment" "Multiple"
"Sheu 2002" "Milk fermented" 73 80 7 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after treatment" "Multiple"
"Srinarong 2014 (14-day therapy)" "Control" 24 25 1 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During treatment" "Multiple"
"Srinarong 2014 (14-day therapy)" "Milk fermented" 25 25 0 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During treatment" "Multiple"
"Srinarong 2014 (7-day therapy)" "Control" 23 25 2 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During treatment" "Multiple"
"Srinarong 2014 (7-day therapy)" "Milk fermented" 25 25 0 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During treatment" "Multiple"
"Yasar 2010" "Control" 20 38 18 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During treatment" "Single"
"Yasar 2010" "Milk fermented" 25 38 13 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During treatment" "Single"
"Yoon 2010" "Control" 124 186 62 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after treatment" "Multiple"
"Yoon 2010" "Milk fermented" 104 151 47 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after treatment" "Multiple"
end

label define days_therapy 1 "Seven days" 2 "Fourteen days"
gen days_therapy1=.
replace days_therapy1= 1 if days_therapy=="Seven days"
replace days_therapy1= 2 if days_therapy=="Fourteen days"
drop days_therapy
rename days_therapy1 days_therapy
label val days_therapy days_therapy

label define type_therapy 1 "Triple therapy" 2 "Quadruple therapy"
gen type_therapy1=.
replace type_therapy1= 1 if type_therapy=="Triple therapy"
replace type_therapy1= 2 if type_therapy=="Quadruple therapy"
drop type_therapy
rename type_therapy1 type_therapy
label val type_therapy type_therapy

label define type_fm 1 "Yogurt" 2 "Kefir"
gen type_fm1=.
replace type_fm1= 1 if type_fm=="Yogurt"
replace type_fm1= 2 if type_fm=="Kefir"
drop type_fm
rename type_fm1 type_fm
label val type_fm type_fm

label define placebo_use 1 "With placebo" 2 "Without placebo"
gen placebo_use1=.
replace placebo_use1= 1 if placebo_use=="With placebo"
replace placebo_use1= 2 if placebo_use=="Without placebo"
drop placebo_use
rename placebo_use1 placebo_use
label val placebo_use placebo_use

label define country 1 "Asia" 2 "Europe"
gen country1=.
replace country1= 1 if country=="Asia"
replace country1= 2 if country=="Europe"
drop country
rename country1 country
label val country country

label define mf_duration 1 "<=14 days" 2 ">14 days"
gen mf_duration1=.
replace mf_duration1= 1 if mf_duration=="<=14 days"
replace mf_duration1= 2 if mf_duration==">14 days"
drop mf_duration
rename mf_duration1 mf_duration
label val mf_duration mf_duration

label define mf_adittion 1 "Before and during treatment" 2 "During treatment" 3 "During and after treatment"
gen mf_adittion1=.
replace mf_adittion1= 1 if mf_adittion=="Before and during treatment"
replace mf_adittion1= 2 if mf_adittion=="During treatment"
replace mf_adittion1= 3 if mf_adittion=="During and after treatment"
drop mf_adittion
rename mf_adittion1 mf_adittion
label val mf_adittion mf_adittion

label define probiotic_sp 1 "Single" 2 "Multiple" 3 "Non reported"
gen probiotic_sp1=.
replace probiotic_sp1= 1 if probiotic_sp=="Single"
replace probiotic_sp1= 2 if probiotic_sp=="Multiple"
replace probiotic_sp1= 3 if probiotic_sp=="Non reported"
drop probiotic_sp
rename probiotic_sp1 probiotic_sp
label val probiotic_sp probiotic_sp

label define group 1 "Milk fermented" 0 "Control"
gen group1=.
replace group1= 1 if group=="Milk fermented"
replace group1= 0 if group=="Control"
drop group
rename group1 group
label val group group

label var studyid "Study ID"
label var group "Grupo"
label var event_n "Events into the group"
label var event_tot "Total number into the group"
label var nonevent_n "Non events into the group"
label var days_therapy "Eradication therapy days (seven or fourteen)"
label var type_therapy "Eradication type therapy (triple or quadruple)"
label var type_fm "Type of fermented milk used (Yogurt or kefir)"
label var placebo_use "Placebo use (with or without)"
label var country "Study location" 
label var mf_duration "Duration of fermented milk used"
label var mf_adittion "Time of addition of fermented milk"
label var probiotic_sp "Probiotic species used"


*Main

metaprop event_n event_tot, random by(group) ftt cimethod(score) lcols(studyid) nowt xlab(0.1,0.2,0.3,0.4,0.5,0.6,.7,0.8, 0.9, 1) force xtick(0.1,0.2,0.3,0.4,0.5,0.6,.7,0.8, 0.9, 1) nobox  astext(75) classic xtitle("Proportion",size(2.5)) subtitle("Meta-analysis of eradication rates. Overall",size(3) justification(left)) diamopt(lcolor(red)) pointopt(msymbol(0)msize(0.5))boxopt(msymbol(S) mcolor(black)) graphregion(color(white)) nooverall



* Side effects
clear

input str50 studyid	str50 side_effect fm_event_n fm_nonevent_n fm_event_tot cont_event_n cont_nonevent_n cont_event_tot str20 days_therapy str20 type_therapy str10 type_fm str20 placebo_use str10 country str10 mf_duration str20 mf_adittion str15 probiotic_sp
"Bekar 2011" "Abdominal pain" 12 34 46 25 11 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Anorexia" 9 37 46 7 29 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Diarrhea" 11 35 46 18 18 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Dyspepsia" 1 45 46 5 31 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Gastric disconfort" 13 33 46 30 6 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Headache" 2 44 46 9 27 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Mucocutaneous manifestations" 1 45 46 0 46 46 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Nausea" 9 37 46 15 21 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Serious adverse events" 0 46 46 5 31 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Taste disturbance" 30 16 46 30 6 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Vomiting" 2 44 46 2 34 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Bekar 2011" "Nausea or vomiting" 11 35 46 17 19 36 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Deguchi 2012" "Diarrhea" 6 109 115 4 110 114 "Fourteen days" "Triple therapy" "Kefir" "With placebo" "Europe" "<=14 days" "During" "Non reported"
"Guillemard 2021" "Total adverse events" 42 26 68 42 26 68 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Europe" ">14 days" "During and after" "Multiple"
"Guillemard 2021" "Diarrhea" 5 63 68 3 65 68 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Europe" ">14 days" "During and after" "Multiple"
"Guillemard 2021" "Serious adverse events" 0 68 68 3 65 68 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Europe" ">14 days" "During and after" "Multiple"
"Kim 2008" "Abdominal distension" 4 164 168 2 177 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Abdominal pain" 4 164 168 5 174 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Total adverse events" 69 99 168 47 132 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Constipation" 1 167 168 1 178 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Diarrhea" 16 152 168 14 165 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Epigastric discomfort" 1 167 168 4 175 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Epigastric soreness" 7 161 168 6 173 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Gastric disconfort" 16 152 168 17 162 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Headache" 1 167 168 1 178 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Mucocutaneous manifestations" 1 167 168 0 179 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Nausea" 3 165 168 0 168 168 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Regurgitation" 2 166 168 1 178 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Serious adverse events" 9 159 168 6 173 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Taste disturbance" 28 140 168 13 166 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Withdrawal due to adverse event" 5 163 168 3 176 179 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Kim 2008" "Nausea or vomiting" 3 165 168 0 168 168 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "Before and during" "Multiple"
"Sheu 2002" "Constipation" 1 79 80 8 72 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Sheu 2002" "Diarrhea" 2 78 80 10 70 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Sheu 2002" "Headache" 1 79 80 4 76 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Sheu 2002" "Nausea" 5 75 80 8 72 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Sheu 2002" "Taste disturbance" 5 75 80 16 64 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Sheu 2002" "Vomiting" 1 79 80 7 73 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Sheu 2002" "Nausea or vomiting" 6 74 80 15 65 80 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yasar 2010" "Abdominal pain" 9 29 38 12 26 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Constipation" 3 35 38 9 29 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Diarrhea" 14 24 38 15 23 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Gastric disconfort" 9 29 38 12 26 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Mucocutaneous manifestations" 2 36 38 9 29 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Serious adverse events" 16 22 38 24 14 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Taste disturbance" 31 7 38 31 7 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Vomiting" 3 35 38 5 33 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yasar 2010" "Nausea or vomiting" 3 35 38 5 33 38 "Fourteen days" "Triple therapy" "Yogurt" "With placebo" "Europe" "<=14 days" "During" "Single"
"Yoon 2010" "Abdominal distension" 2 149 151 1 185 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Abdominal pain" 2 149 151 5 181 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Total adverse events" 43 108 151 47 139 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Anorexia" 2 149 151 2 184 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Constipation" 0 151 151 2 184 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Diarrhea" 20 131 151 17 169 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Dizziness" 0 151 151 1 185 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Dyspepsia" 9 142 151 15 171 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Gastric disconfort" 13 138 151 21 165 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Headache" 0 151 151 2 184 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Mucocutaneous manifestations" 2 149 151 1 185 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Nausea" 9 142 151 11 175 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Nausea or vomiting" 9 142 151 11 175 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Regurgitation" 0 151 151 1 185 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Serious adverse events" 11 140 151 15 171 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Yoon 2010" "Taste disturbance" 3 148 151 6 180 186 "Fourteen days" "Triple therapy" "Yogurt" "Without placebo" "Asia" ">14 days" "During and after" "Multiple"
"Mirzaee 2012 (with placebo)" "Total adverse events" 20 11 31 21 10 31 "Seven days" "Triple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Non reported"
"Mirzaee 2012 (with placebo)" "Diarrhea" 7 24 31 8 23 31 "Seven days" "Triple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Non reported"
"Mirzaee 2012 (with placebo)" "Taste disturbance" 8 23 31 10 21 31 "Seven days" "Triple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Non reported"
"Mirzaee 2012 (without placebo)" "Total adverse events" 20 11 31 22 4 26 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" "<=14 days" "During" "Non reported"
"Mirzaee 2012 (without placebo)" "Diarrhea" 7 24 31 8 18 26 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" "<=14 days" "During" "Non reported"
"Mirzaee 2012 (without placebo)" "Taste disturbance" 8 23 31 6 20 26 "Seven days" "Triple therapy" "Yogurt" "Without placebo" "Asia" "<=14 days" "During" "Non reported"
"Srinarong 2014 (14-day therapy)" "Black stool" 21 4 25 22 3 25 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (14-day therapy)" "Diarrhea" 6 19 25 10 15 25 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (14-day therapy)" "Mucocutaneous manifestations" 4 21 25 1 24 25 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (14-day therapy)" "Serious adverse events" 0 25 25 0 25 25 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (14-day therapy)" "Taste disturbance" 10 15 25 15 10 25 "Fourteen days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (7-day therapy)" "Black stool" 24 1 25 22 3 25 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (7-day therapy)" "Diarrhea" 6 19 25 10 15 25 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (7-day therapy)" "Mucocutaneous manifestations" 1 24 25 1 24 25 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (7-day therapy)" "Serious adverse events" 0 25 25 0 25 25 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
"Srinarong 2014 (7-day therapy)" "Taste disturbance" 8 17 25 16 9 25 "Seven days" "Quadruple therapy" "Yogurt" "With placebo" "Asia" "<=14 days" "During" "Multiple"
end


gen side_effect1=.
replace side_effect1= 1 if side_effect=="Abdominal distension"
replace side_effect1= 2 if side_effect=="Abdominal pain"
replace side_effect1= 3 if side_effect=="Anorexia"
replace side_effect1= 4 if side_effect=="Black stool"
replace side_effect1= 5 if side_effect=="Constipation"
replace side_effect1= 6 if side_effect=="Diarrhea"
replace side_effect1= 7 if side_effect=="Dizziness"
replace side_effect1= 8 if side_effect=="Dyspepsia"
replace side_effect1= 9 if side_effect=="Epigastric discomfort"
replace side_effect1= 10 if side_effect=="Epigastric soreness"
replace side_effect1= 11 if side_effect=="Gastric disconfort"
replace side_effect1= 12 if side_effect=="Headache"
replace side_effect1= 13 if side_effect=="Mucocutaneous manifestations"
replace side_effect1= 14 if side_effect=="Nausea"
replace side_effect1= 15 if side_effect=="Regurgitation"
replace side_effect1= 16 if side_effect=="Serious adverse events"
replace side_effect1= 17 if side_effect=="Taste disturbance"
replace side_effect1= 18 if side_effect=="Total adverse events"
replace side_effect1= 19 if side_effect=="Vomiting"
replace side_effect1= 20 if side_effect=="Withdrawal due to adverse event"
replace side_effect1= 21 if side_effect=="Nausea or vomiting"
drop side_effect
rename side_effect1 side_effect
label define side_effect 1 "Abdominal distensión" 2 "Abdominal pain" 3 Anorexia 4 "Black stool" 5 Constipation 6 Diarrhea 7 Dizziness 8 Dyspepsia 9 "Epigastric discomfort" 10 "Epigastric soreness" 11 "Gastric disconfort" 12 Headache 13 "Mucocutaneous manifestations" 14 Nausea 15 Regurgitation 16 "Serious adverse events" 17 "Taste disturbance" 18 "Total adverse events" 19 Vomiting 20 "Withdrawal due to adverse event" 21 "Nausea or vomiting"
label val side_effect side_effect

label define days_therapy 1 "Seven days" 2 "Fourteen days"
gen days_therapy1=.
replace days_therapy1= 1 if days_therapy=="Seven days"
replace days_therapy1= 2 if days_therapy=="Fourteen days"
drop days_therapy
rename days_therapy1 days_therapy
label val days_therapy days_therapy

label define type_therapy 1 "Triple therapy" 2 "Quadruple therapy"
gen type_therapy1=.
replace type_therapy1= 1 if type_therapy=="Triple therapy"
replace type_therapy1= 2 if type_therapy=="Quadruple therapy"
drop type_therapy
rename type_therapy1 type_therapy
label val type_therapy type_therapy

label define type_fm 1 "Yogurt" 2 "Kefir"
gen type_fm1=.
replace type_fm1= 1 if type_fm=="Yogurt"
replace type_fm1= 2 if type_fm=="Kefir"
drop type_fm
rename type_fm1 type_fm
label val type_fm type_fm

label define placebo_use 1 "With placebo" 2 "Without placebo"
gen placebo_use1=.
replace placebo_use1= 1 if placebo_use=="With placebo"
replace placebo_use1= 2 if placebo_use=="Without placebo"
drop placebo_use
rename placebo_use1 placebo_use
label val placebo_use placebo_use

label define country 1 "Asia" 2 "Europe"
gen country1=.
replace country1= 1 if country=="Asia"
replace country1= 2 if country=="Europe"
drop country
rename country1 country
label val country country

label define mf_duration 1 "<=14 days" 2 ">14 days"
gen mf_duration1=.
replace mf_duration1= 1 if mf_duration=="<=14 days"
replace mf_duration1= 2 if mf_duration==">14 days"
drop mf_duration
rename mf_duration1 mf_duration
label val mf_duration mf_duration

label define mf_adittion 1 "Before and during treatment" 2 "During treatment" 3 "During and after treatment"
gen mf_adittion1=.
replace mf_adittion1= 1 if mf_adittion=="Before and during"
replace mf_adittion1= 2 if mf_adittion=="During"
replace mf_adittion1= 3 if mf_adittion=="During and after"
drop mf_adittion
rename mf_adittion1 mf_adittion
label val mf_adittion mf_adittion

label define probiotic_sp 1 "Single" 2 "Multiple" 3 "Non reported"
gen probiotic_sp1=.
replace probiotic_sp1= 1 if probiotic_sp=="Single"
replace probiotic_sp1= 2 if probiotic_sp=="Multiple"
replace probiotic_sp1= 3 if probiotic_sp=="Non reported"
drop probiotic_sp
rename probiotic_sp1 probiotic_sp
label val probiotic_sp probiotic_sp


label var studyid "Study ID" 
label var fm_event_n "Events in fermented milk groups"
label var fm_event_tot "Total number in fermented milk groups"
label var fm_nonevent_n "Non events in fermented milk groups"
label var cont_event_n "Events in control groups"
label var cont_event_tot "Total number in control groups"
label var cont_nonevent_n "Non events in control groups"
label var days_therapy "Eradication therapy days (seven or fourteen)"
label var type_therapy "Eradication type therapy (triple or quadruple)"
label var type_fm "Type of fermented milk used (Yogurt or kefir)"
label var placebo_use "Placebo use (with or without)"
label var country "Study location" 
label var mf_duration "Duration of fermented milk used"
label var mf_adittion "Time of addition of fermented milk"
label var probiotic_sp "Probiotic species used"
label var side_effect "Adverse events"


* Table 3

* Number of comparisons/sample size
egen ncomparison=rowtotal(fm_event_tot cont_event_tot)
tabstat ncomparison if (side_effect==3 | side_effect==4 | side_effect==5 | side_effect==6 | side_effect==11 | side_effect==14 | side_effect==15 | side_effect==17 | side_effect==19 | side_effect==13 | side_effect==7 | side_effect==12 | side_effect==16 | side_effect==20 | side_effect==18 | side_effect==21), stats(n sum) by(side_effect)

*Meta-analysis of adverse events (Table 3 - Random model)
meta esize fm_event_n fm_nonevent_n cont_event_n cont_nonevent_n, esize(lnrratio) random(dlaird) studylabel(studyid)
meta summarize if side_effect==3, eform cformat(%9.2f) // Anorexia
meta summarize if side_effect==4, eform cformat(%9.2f) // Black stool
meta summarize if side_effect==5, eform cformat(%9.2f) // Constipation
meta summarize if side_effect==6, eform cformat(%9.2f) // Diarrhea
meta summarize if side_effect==11, eform cformat(%9.2f) // Gastric discomfort
meta summarize if side_effect==14, eform cformat(%9.2f) // Nausea
meta summarize if side_effect==15, eform cformat(%9.2f) // Regurgitation
meta summarize if side_effect==17, eform cformat(%9.2f) // Taste disturbance
meta summarize if side_effect==19, eform cformat(%9.2f) // Vomiting
meta summarize if side_effect==13, eform cformat(%9.2f) // Mucocutaneous manifestations
meta summarize if side_effect==7, eform cformat(%9.2f) // Dizziness
meta summarize if side_effect==12, eform cformat(%9.2f) // Headache
meta summarize if side_effect==16, eform cformat(%9.2f) // Serious adverse events
meta summarize if side_effect==20, eform cformat(%9.2f) // Withdrawal due to adverse event
meta summarize if side_effect==18, eform cformat(%9.2f) // Total adverse events
meta summarize if side_effect==21, eform cformat(%9.2f) // Nausea or vomiting

*Meta-analysis of adverse events (Table S6 - Fixed model)
meta esize fm_event_n fm_nonevent_n cont_event_n cont_nonevent_n, esize(lnrratio) fixed(mhaenszel) studylabel(studyid)
meta summarize if side_effect==3, eform cformat(%9.2f) // Anorexia
meta summarize if side_effect==4, eform cformat(%9.2f) // Black stool
meta summarize if side_effect==5, eform cformat(%9.2f) // Constipation
meta summarize if side_effect==6, eform cformat(%9.2f) // Diarrhea
meta summarize if side_effect==11, eform cformat(%9.2f) // Gastric discomfort
meta summarize if side_effect==14, eform cformat(%9.2f) // Nausea
meta summarize if side_effect==15, eform cformat(%9.2f) // Regurgitation
meta summarize if side_effect==17, eform cformat(%9.2f) // Taste disturbance
meta summarize if side_effect==19, eform cformat(%9.2f) // Vomiting
meta summarize if side_effect==13, eform cformat(%9.2f) // Mucocutaneous manifestations
meta summarize if side_effect==7, eform cformat(%9.2f) // Dizziness
meta summarize if side_effect==12, eform cformat(%9.2f) // Headache
meta summarize if side_effect==16, eform cformat(%9.2f) // Serious adverse events
meta summarize if side_effect==20, eform cformat(%9.2f) // Withdrawal due to adverse event
meta summarize if side_effect==18, eform cformat(%9.2f) // Total adverse events
meta summarize if side_effect==21, eform cformat(%9.2f) // Nausea or vomiting

